import { createApp } from 'vue'
import App from '@/App.vue'
import '@/styles/index.scss'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import "virtual:svg-icons-register"
import gloabComponent from '@/components'
import router from './router'
import pinia from './store'
import './permisstion'
import { ElMessage } from 'element-plus'

const app = createApp(App)
// 国际化
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(router)
app.use(pinia)
app.use(gloabComponent)
app.mount('#app')

